﻿using System;
using System.ComponentModel;
using System.Windows.Forms;

namespace YArchitech.Controls
{
	public class DataGridViewComboBoxColumnEx : DataGridViewComboBoxColumn
	{
		[Description("控制组合框的外观和功能")]
		[DefaultValue(ComboBoxStyle.DropDownList)]
		public ComboBoxStyle DropDownStyle
		{
			get
			{
				return this.dropDownStyle;
			}
			set
			{
				this.dropDownStyle = value;
			}
		}

		public DataGridViewComboBoxColumnEx()
		{
			this.dropDownStyle = ComboBoxStyle.DropDownList;
		}

		private ComboBoxStyle dropDownStyle;
	}
}
